﻿using Newtonsoft.Json.Converters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace NewBee.Core.Data.Model
{
    public class PageResult:BaseModel
    {
        IsoDateTimeConverter timeFormat = new IsoDateTimeConverter();

        public PageResult()
        {
            timeFormat.DateTimeFormat = "yyyy-MM-dd HH:mm:ss";
        }

        /// <summary>
        /// 分页查询中总记录数
        /// </summary>
        public int total { get; set; }

        /// <summary>
        /// 分页查询中结果集合
        /// </summary>
        public object rows { get; set; }
    }
}
